//表单校验规则
export const formRules = {
    name: [{
        required: true,
        message: '模块名称 必填'
    }],
    desc: [{
        required: true,
        message: '模块描述 必填'
    }],
    permissions: [{
        required: true,
        message: '权限名称 必填'
    }]
};

//表单model
export function formModel(
    name = null,
    desc = null,
    permissions = []
    ) {
    this.name = name
    this.desc = desc
    this.permissions = permissions
}

//表头搜索
export function filterModel(
) {
}
